package com.wei.mapper;

import com.wei.model.ReviewDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wei.vo.ReviewVO;

import java.util.List;

/**
 * <p>
 * 评论表 Mapper 接口
 * </p>
 *
 * @author 蔡徐坤
 * @since 2025-07-28
 */
public interface ReviewMapper extends BaseMapper<ReviewDO> {

    List<ReviewVO> listReviewsByProductId(Long productId);
}
